const state: any = {
    state: {
        positionState: false,//展示员工--职位list
        employState: false,//展示员工--员工list
    },
}

const mutations: any = {
    SET_POSITION_STATE(state: any, positionState: Boolean) {
        state.positionState = positionState
    },
    SET_EMPLOY_STATE(state: any, employState: Boolean) {
        state.employState = employState
    },

}

const actions = {
    SET_POSITION_STATE({ commit }: any, positionState: Boolean) {
        commit('SET_POSITION_STATE', positionState)
    },
    SET_EMPLOY_STATE({ commit }: any, employState: Boolean) {
        commit('SET_EMPLOY_STATE', employState)
    },

}
export default {
    namespaced: true,
    state,
    mutations,
    actions
}
